package com.shopping.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shopping.model.AdminInfo;
import com.shopping.param.AdminInfoParam;

public interface AdminInfoMapper {
    int deleteByPrimaryKey(Integer adminid);

    int insert(AdminInfo record);

    int insertSelective(AdminInfo record);

    AdminInfo selectByPrimaryKey(Integer adminid);

    int updateByPrimaryKeySelective(AdminInfo record);

    int updateByPrimaryKey(AdminInfo record);
    
    public int count(@Param(value = "delflag") String delflag);

	List<AdminInfo> select(AdminInfo param);
	
	public List<AdminInfo> login(AdminInfoParam param);
}